package com.lfx.concurrent.daemon;

/**
 * @author 李逢喜
 * create 2021/7/23
 */
public class DaemonThread extends Thread{

    @Override
    public void run() {
        while (true){
            System.out.println(Thread.currentThread().getName());
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
